package com.math3d;

/**
 * Created by JhonKkk on 2018/11/3.
 */

public class Vector2f {
    public float x, y;

    public Vector2f(float x, float y) {
        this.x = x;
        this.y = y;
    }

    public Vector2f(){
        x = y = 0;
    }
    public Vector2f(Vector2f v){
        this.x = v.x;
        this.y = v.y;
    }

    @Override
    public String toString() {
        return "Vector2f{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}
